﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.Domain.CRMDomain;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.CompanyDomain
{
   public class Schedule
    {
        #region Properties
        public Guid ID { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public DayOfWeek StartDay { get; set; }
        public DayOfWeek EndDay { get; set; }
          [DataType(DataType.Time)]
        public DateTime StartTime { get; set; }
          [DataType(DataType.Time)]
        public DateTime EndTime { get; set; }
        public string Notes { get; set; }
        #endregion

        #region ForeignKeyProperties
        public int ScheduleStatusID { get; set; } 
        #endregion

        #region NavigationalProperties
       [ForeignKey("ScheduleStatusID")]
        public virtual ScheduleStatus Status { get; set; }        
        #endregion
    }
}
